package com.zl.hyzg.service.impl;

import com.zl.hyzg.domain.User;
import com.zl.hyzg.mapper.LoginMapper;
import com.zl.hyzg.service.LoginService;
import com.zl.hyzg.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;
    public User login(UserVo userVo){
        return loginMapper.loginUser(userVo);
    }
}
